# @Version : 1.0
# @Author  : wxz
# @File    : user_chat_model.py
# @Time    : 2025/6/20 20:28
# @Describe: 描述...
from sqlalchemy import Column, String
from sqlmodel import Field

from database.mysql.base_sql_model import BaseSQLModel


class UserChatModel(BaseSQLModel, table=True):

    """ 用户的会话聊天 """
    __tablename__ = 'user_chat'

    user_id: str = Field(description="用户ID", max_length=64)

    conversation_id: str = Field(description="会话ID", max_length=64)

    topic: str = Field(description="会话主题", max_length=255)
